package cn.b.sky.admin.service.impl;

import cn.b.sky.admin.dao.AdminTimeZoneDao;
import cn.b.sky.admin.model.TimeZone;
import cn.b.sky.admin.service.AdminTimeZoneService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service("adminTimeZoneService")
public class AdminTimeZoneServiceImpl implements AdminTimeZoneService {

  @Resource
  AdminTimeZoneDao adminTimeZoneDao;

  @Override
  public TimeZone selectTimeZoneByCode(String timeZoneCode) {
    return adminTimeZoneDao.selectTimeZoneByCode(timeZoneCode);
  }

  @Override
  public List<TimeZone> selectTimeZone() {
    return adminTimeZoneDao.selectTimeZone();
  }

}
